package com.hyz.service;

import com.hyz.pojo.ResponseResult;
import com.hyz.pojo.assetRetire.AssetRetireCheck;
import com.hyz.pojo.assetRetire.AssetRetireResponse;

import java.util.List;

public interface OperationService {
    /**
     * 获取资产报废申请
     *
     * @return 资产报废申请列表
     */
    ResponseResult<List<AssetRetireResponse>> opsGetAssetRetires();

    /**
     * 更新资产报废申请
     *
     * @param retireCheck 申请id和判断结果
     * @return 资产报废申请
     */
    ResponseResult<List<AssetRetireResponse>> opsUpdateAssetRetires(AssetRetireCheck retireCheck);

}
